<jsp:directive.page import="org.biojava.dasobert.dasregistry.DasCoordinateSystem"/>
<jsp:directive.page import="org.biojava.dasobert.dasregistry.DasSource"/>
<jsp:directive.page import="org.biojava.dasobert.dasregistry.Das1Source"/>
<jsp:directive.page import="org.biojava.services.das.registry.DasRegistrySql"/>
<jsp:directive.page import="org.springframework.beans.factory.BeanFactory"/>
<jsp:directive.page import="org.springframework.context.support.ClassPathXmlApplicationContext"/>
<% String title="validate DAS/2 source";
   String header = title;
   BeanFactory ctx=(new ClassPathXmlApplicationContext("SpringDAO.xml"));
		DasRegistrySql registry=(DasRegistrySql)ctx.getBean("registryBean");
%>


<%@ include file="sangerheader.jsp" %>

<div id="main">

<h2>validate DAS source</h2>


<jsp:include page="openwindowscript.jsp" />



<%@ include file="sangertablestart.jsp" %>

<form action="validateAction2.jsp" name="form_validate">

	<tr id="row1">
	<td>DAS/2 URL:</td>
	<td><input type="input" name="das2url" size="40" value="http://"/></td>	
	<td><a href="http://biodas.org/documents/das2/das2_get.html">help</a></td>
	</tr>
	
	
	<tr id="row2">
	<td colspan="3">
	<input type="submit" value="validate">
	</td>
	</tr>

</form>

<%@ include file="sangertableend.jsp" %>


<ul>
<li>Show me an <a href="validateAction2.jsp?das2url=http%3A%2F%2Fdas.biopackages.net%2Fdas%2Fgenome">example DAS/2 request + validation</a></li>

<li>
to validate a DAS/1 server please proceed <a href="validateServer.jsp">here</a>
</li>
</ul>


</div>

<%@ include file="sangerfooter.jsp" %>


